package com.example.comm.comm;

import java.io.Serializable;
import java.util.HashMap;

/**
 * 实体类父类
 * @author Raines
 */
public class PoExtender implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1111L;
	
	private HashMap<String, Object> extender = new HashMap<>();
	
	public Object get(String key) {
		if(extender == null) {
			return null;
		}
		return extender.get(key);
	}

	public void set(String key, Object o) {
		if(extender == null) {
			extender = new HashMap<String, Object>();
		}
		extender.put(key, o);
	}

	public HashMap<String, Object> getExtender() {
		return extender;
	}

	public void setExtender(HashMap<String, Object> extender) {
		this.extender = extender;
	}
}
